package com.garvin.consumer.controller;

import com.garvin.facade.sso.authentication.AuthenticationService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

/**
 * @author : garvin
 * @version V1.0
 * @date : 2020年05月27日 17:57
 */
@Service
public class DubboConsumerService {

    @Reference(version = "1.0.1", group = "authentication")
    private AuthenticationService authenticationService;

    public String test() {
        return authenticationService.test();
    }
}
